<html xmlns="http://www.w3c.org/1999/xhtml"
   xmlns:h="http://java.sun.com/jsf/html"
   xmlns:p="http://primefaces.org/ui">
<h:head>
</h:head>
<h:body>
 	<h:form>
 		<div>
 		
 			<h1> CUELGA TU ANUNCIO </h1>
 		</div>
 		
 		<div>
 			<p:separator />
 			<p:spacer height="20" />
 			
 			<p:panelGrid columns="2">
 				<p:outputLabel value = "Titulo: "></p:outputLabel>
 				<p:inputText id = "titulo"></p:inputText>
 				
 				<p:outputLabel value = "Descripcion: "></p:outputLabel>
 				<p:inputText id = "descripcion"></p:inputText>
 				
 				<p:outputLabel value = "Fecha: "></p:outputLabel>
 				<p:calendar id = "Calendario"></p:calendar>
 			</p:panelGrid>
 			
 			<p:spacer height="20" />
 			<p:separator />
 			
 		</div>
 		
 		<div>
 			
 			<p:panelGrid columns="2">
 				<h3>Anuncio</h3>
 				<p:editor id = "Anuncio"></p:editor>
 			</p:panelGrid>
 		</div>
 		
 		<p:spacer height="20" />
 			<p:separator />
 		<div>
 			<h4> Seleccionar imagen</h4>
 			<p:panelGrid columns="2">
 				<h:form enctype="multipart/form-data">
  				 <p:growl id="messages" showDetail="true" />
 
    				<p:fileUpload value="" mode="simple" skinSimple="true"/>
 
    				<p:commandButton value="Submit" ajax="false" actionListener="}" disabled="true" />
				</h:form>
				
				<p:button value = "Guardar"></p:button>
 			</p:panelGrid>
 		</div>
 	</h:form>
</h:body>
</html>